package cn.openea.perpartner.payment.web.wallet.service;

import cn.openea.perpartner.payment.web.wallet.dto.SearchDto;
import cn.openea.perpartner.payment.web.wallet.dto.WalletDto;
import cn.openea.perpartner.payment.web.wallet.entity.Bills;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author Weird077
 * @description TODO
 * @date 2022-03-14 11:37
 */
public interface IBillsService extends IService<Bills> {
    /**
     * 钱包明细
     */
    List<Bills> selectList(WalletDto dto);

    /**
     * 入账
     * @return
     */
    boolean insert(WalletDto dto);

    /**
     * 查询全部账单
     */
    List<Bills> selectList();

    List<Bills> selectListByAccount(SearchDto dto);

    boolean markBillsRead(SearchDto dto);
}
